package com.school.base.dao;

import java.util.List;

import com.school.base.model.Class;

public interface IClassDao {
	public Class getClassById(int id);

	public List<Class> getClassList(Class cls, int offset, int pageSize);

	public int getTotalCount(Class cls);

	public void updateClass(Class cls);

	public void deleteClass(int id);

	public void insertClass(Class cls);
	
	public List<Class> getAllUnexpiredByGrade(String grade);
}
